import request from '@/utils/request'

// 用户列表接口
export const userList = (data) => {
  return request({
    url: '/user/list',
    method: 'POST',
    data
  })
}

// 登出
export const logout = () => {
  return {
    code: 20000,
    data: 'success'
  }
}

// 配置修改
export const configSave = (data) => {
  return request({
    url: '/userInfo/save',
    method: 'POST',
    data
  })
}
